package com.ibm.spatiotemp.datamodel.datatype;

public class Constraints {

	public static String TemporalLineStringTypeString = "templinestr";
	
	public static final int Max_LineString_Points = 1000;
	public static final int Default_LineString_Points = 50;
	
	/*request type for request.java*/
	public static final String REQUEST_TYPE_BUILDRIDX = "brtreeidx";
	public static final String REQUEST_TYPE_SEARCHRIDX = "srtreeidx";
	
	/*query type for queryrequest.java*/
	public static final String QTYPE_KNN = "knn";
	public static final String QTYPE_RANGE = "range";
	
	/*query index layer*/
	public static final String IDXLAYER_FISRT = "1stlayeridx";
	public static final String IDXLAYER_SECOND = "2ndlayeridx";
	
	public static final String QUERY_LOCALMODE = "localqmode";
	public static final String QUERY_SPARKMODE = "sparkqmode";
	
	public static final String IDX_LOCALMODE = "localidxmode";
	public static final String IDX_MRMODE = "mridxmode";
	public static final String IDX_SPARKMODE = "sparkidxmode";
	

	/*datasource description*/
	/*only for now, linestring splitting is not implemented*/
	public static final int DATASRC_MODE_MOCK = 0x0;

	/*for next step, ingested by local mocking time series data source to do splitting*/
	public static final int DATASRC_MODE_LOCAL = 0x1;
	
	/*for next step, ingested by remote time sereis data source from restful parts*/
	public static final int DATASRC_MODE_REMOTE	= 0X2;
	
	
	public static final int INDEXLOCATION_LOCALMEM = 0X1;
	public static final int INDEXLOCATION_REDIS = 0X2;
	public static final int INDEXLOCATION_HDFS = 0X0;
	
	
	public static final String INDEXCACHECLASS_REDIS = "redis";
}
